package study.itwill.team5.board;

/**
 * italia.board 테이블을 표현하는 JavaBeans
 */
public class BoardItem {
	private int seq;
	private String title;
	private String content;
	private int hit;
	private String reg_date;
	private String edit_date;
	private int board_category_seq;
	private String category_name;
	private int member_seq;
	private String user_name;
	private int house_seq;
	private int grade;
	
	public BoardItem(int seq, String title, String content, int hit,
			String reg_date, String edit_date, int board_category_seq,
			String category_name, int member_seq, String user_name,
			int house_seq, int grade) {
		super();
		this.seq = seq;
		this.title = title;
		this.content = content;
		this.hit = hit;
		this.reg_date = reg_date;
		this.edit_date = edit_date;
		this.board_category_seq = board_category_seq;
		this.category_name = category_name;
		this.member_seq = member_seq;
		this.user_name = user_name;
		this.house_seq = house_seq;
		this.grade = grade;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getHit() {
		return hit;
	}

	public void setHit(int hit) {
		this.hit = hit;
	}

	public String getReg_date() {
		return reg_date;
	}

	public void setReg_date(String reg_date) {
		this.reg_date = reg_date;
	}

	public String getEdit_date() {
		return edit_date;
	}

	public void setEdit_date(String edit_date) {
		this.edit_date = edit_date;
	}

	public int getBoard_category_seq() {
		return board_category_seq;
	}

	public void setBoard_category_seq(int board_category_seq) {
		this.board_category_seq = board_category_seq;
	}

	public String getCategory_name() {
		return category_name;
	}

	public void setCategory_name(String category_name) {
		this.category_name = category_name;
	}

	public int getMember_seq() {
		return member_seq;
	}

	public void setMember_seq(int member_seq) {
		this.member_seq = member_seq;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public int getHouse_seq() {
		return house_seq;
	}

	public void setHouse_seq(int house_seq) {
		this.house_seq = house_seq;
	}

	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}

	@Override
	public String toString() {
		return "BoardItem [seq=" + seq + ", title=" + title + ", content="
				+ content + ", hit=" + hit + ", reg_date=" + reg_date
				+ ", edit_date=" + edit_date + ", board_category_seq="
				+ board_category_seq + ", category_name=" + category_name
				+ ", member_seq=" + member_seq + ", user_name=" + user_name
				+ ", house_seq=" + house_seq + ", grade=" + grade + "]";
	}
}